package dongze.com.ckdj.dagger.module;

import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;
import dongze.com.ckdj.dagger.PerSection;
import dongze.com.ckdj.data.entity.response.BrandResponse;
import dongze.com.ckdj.data.entity.response.InspectionSectionResponse;

/**
 * Created by fanqwz on 2017/8/11.
 */

@Module
public class SectionModule {
    BrandResponse brand;
    InspectionSectionResponse section;
    String vehicleNumber;

    public SectionModule(BrandResponse brand, InspectionSectionResponse section) {
        this.brand = brand;
        this.section = section;
    }

    @Provides
    @PerSection
    InspectionSectionResponse getInscectionSection() {
        return section;
    }

    @Provides
    @PerSection
    BrandResponse getBrand() {
        return brand;
    }
}
